void LowPowerTimerIRQHandler(void)
Low Power Timer Interrupt handler. Clear LPT Compare flag.
Definition: low_power_adc.c:102
static void init_hardware(void)
Init hardware for TWR-K70F120M.
Definition: flexcan_demo/src/main.c:95
void ADC1IRQHandler(void)
ADC Interrupt handler. Get current ADC value and set conversionCompleted flag.
Definition: low_power_adc.c:133
void InitLowPowerTmr(void)
Initialize Low Power Timer. Use 1 kHz LPO with no preescaler and enable LPT interrupt.
Definition: low_power_adc.c:108
lowPowerAdcBoundaries_t TempSensorCalibration(uint32_t updateBoundariesCounter, uint32_t *tempArray)
Calculate current temperature.
Definition: low_power_adc.c:150